{% extends "base_generic.html" %}
{% block body %}
<body id="bsignup">
{% endblock %}
{% block content %}
<div id="maincontent">
    <h1>Sign Up</h1>
    <form action="/signup" id="signup" method="post">
      {% if error %}
        {% for anerror in errors %}
          <p>{{anerror}}</p>
        {% endfor %}
      {% endif %}
      <div class="line">
        <label for="email">E-mail:</label>
        <input type="text" id="idemail" class="text" name="email" value="" />
      </div>
      <div class="line">
        <label for="username">Username:</label>
        <input type="text" id="username" name="username" class="text" maxlength="25" value="" />
        <p class="note">Only letters, numbers or hyphens</p>
      </div>
      <div class="line">
        <label for="password">Password:</label>
        <input type="password" id="password" class="text" name="password" value="" />
      </div>
      <div class="line terms">
        <label>By clicking on 'I Agree' below, you confirm that you accept the <a href="/tos" target="_blank">Terms of Service</a>.</label>
      </div>
      <input type="submit" name="signup" value="I Agree. Join now!" class="button" />
    </form>

	</div>
  <div id="sidebar">
    <div id="content-actions">
      <ul>
        <li id="dlogin"><a href="/login">Login if you have already signed up</a></li>
      </ul>
    </div>
  </div>
	<br class="clear" />
</div>


{% endblock %}
